/**
 * 
 */
package com.dxh.vt.bean;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 说明:资讯
 * 2016年3月4日
 * 作者 wl
 */
@Entity
@Table(name = "information")
public class Information extends BaseBean implements Serializable{

	private static final long serialVersionUID = 9156574968393367123L;

	/*资讯标题*/
	private String title;
	
	/*作者*/
	private String auther;
	
	/*资讯内容*/
	private String content;
	
	/*摘要*/
	private String digest;
	
	/*资讯类型id(对应InformationType的唯一标识)*/
	private String informationtypeId;
	
	/*发布时间*/
	private String pubtime;
	
	/*是否发布*/
	private boolean ispub;

	/**
	 * @return title
	 */
	@Column(length=50)
	public String getTitle() {
		return title;
	}

	/**
	 * @param title 
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return auther
	 */
	@Column(length=50)
	public String getAuther() {
		return auther;
	}

	/**
	 * @param auther 
	 */
	public void setAuther(String auther) {
		this.auther = auther;
	}

	/**
	 * @return content
	 */
	@Column(length=5000)
	public String getContent() {
		return content;
	}

	/**
	 * @param content 
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * @return digest
	 */
	@Column(length=200)
	public String getDigest() {
		return digest;
	}

	/**
	 * @param digest 
	 */
	public void setDigest(String digest) {
		this.digest = digest;
	}

	/**
	 * @return informationtypeId
	 */
	@Column(name="informationtype_id",length=50)
	public String getInformationtypeId() {
		return informationtypeId;
	}

	/**
	 * @param informationtypeId 
	 */
	public void setInformationtypeId(String informationtypeId) {
		this.informationtypeId = informationtypeId;
	}

	/**
	 * @return pubtime
	 */
	@Column(name="pub_time",length=50)
	public String getPubtime() {
		return pubtime;
	}

	/**
	 * @param pubtime 
	 */
	public void setPubtime(String pubtime) {
		this.pubtime = pubtime;
	}

	/**
	 * @return ispub
	 */
	@Column(name="is_pub",length=50)
	public boolean getIspub() {
		return ispub;
	}

	/**
	 * @param ispub 
	 */
	public void setIspub(boolean ispub) {
		this.ispub = ispub;
	}
	
}
